package com.tangqihang229350526.mynote.database

import android.content.Context
import com.tangqihang229350526.mynote.databinding.ActivityAddNoteBinding

interface NoteDao {
    fun query(database: NoteDatabase?, key: String?): List<Note?>?
    fun insert(
        database: NoteDatabase,
        binding: ActivityAddNoteBinding,
        img: String?,
        context: Context
    )

    fun queryById(database: NoteDatabase?, key: Int): Note?

    fun deleteById(database: NoteDatabase?,id: Int)
}